package com.pktechan.api.dao;

import com.pktechan.api.base.BaseMapper;
import com.pktechan.api.entity.CloudTicket;
import com.pktechan.api.vo.CloudTicketVO;
import org.springframework.stereotype.Repository;

/**
 * @program: cloudfloating
 * @description: 云积分DAO接口
 * @author: qx.zhang
 * @create: 2021-03-05 12:51
 **/
@Repository("cloudTicketMapper")
public interface CloudTicketMapper extends BaseMapper {
    /**
     * 根据客户ID获取积分持仓
     *
     * @param custId
     * @return
     */
    CloudTicket getByCustId(Integer custId);

    /**
     * 配送中心
     * @param custId
     * @return
     */
    CloudTicketVO getDistributionCenter(Integer custId);
}
